﻿
using UnityEngine;

/**
 * 地图管理器
 */

public class MapMgr : MonoBehaviour{
    private int waveIndex = 1; //默认进入是第一波怪物
    private BattleMgr battleMgr;

    public void Init(BattleMgr mgr){
        battleMgr = mgr;
        
        //实例化第一批次的怪物
        battleMgr.LoadMonsterByWave(waveIndex);

        PECommon.Log("Init MapMgr done");
    }
}
